package com.heima.homeservicemanagementsystem.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler;
import com.heima.homeservicemanagementsystem.entity.common.ImageEntity;
import com.heima.homeservicemanagementsystem.entity.common.cityDate;
import io.swagger.v3.oas.annotations.tags.Tag;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;
import java.util.List;

/**
 * 账户设置;
 *
 * @author : http://www.chiner.pro
 * @date : 2025-4-23
 */
@Data
/*@ApiModel(value = "账户设置",description = "")*/
@Tag(name = "账户设置")
@TableName(value = "account_settings",autoResultMap = true)
@EqualsAndHashCode(callSuper = false)
public class AccountSettings {
    @TableId(type = IdType.ASSIGN_ID)
    @Schema(description = "主键")
    private String id;
    @Schema(title = "用户id", description = "")
    private String userId;

    @Schema(title = "户名", description = "")
    private String accountName;

    @Schema(title = "银行", description = "")
    private String bank;

    @Schema(title = "开户行", description = "")
    @TableField(typeHandler = JacksonTypeHandler.class)
    private cityDate openingBank;

    @Schema(title = "网点", description = "")
    private String outlets;

    @Schema(title = "银行账号", description = "")
    private String bankAccountNumber;

    @Schema(title = "开户证明", description = "")
    @TableField(typeHandler = JacksonTypeHandler.class)
    private List<ImageEntity> accountOpeningCertificate;

    @Schema(title = "是否审核", description = "")
    private String examine;

    @Schema(title = "是否通过", description = "")
    private String pass;
    @Schema(title = "从业人员", description = "")
    @TableField(exist = false)
    private Employees employees;
    @Schema(title = "修改建议", description = "")
    private String suggestedModifications;
}